interface Person {
    readonly id: number;
    name: string;
    age: number;
}

let viking: Person = {
    id:1,
    name: 'viking',
    age: 20,
    // id:1
    // 赋值的时候，属性多了还有少了都不行
}

viking.id = 9527